home *** CD-ROM | disk | FTP | other *** search
- >** makesave.do V. 1.1.0 - 02/09/92
-
- Copyright 1992 by Al Fasoldt.
-
- This creates a DO file called SAVETEXT.DO. You should only have
- to run MAKESAVE.DO once, unless you have lost SAVETEXT.DO.
-
- This script works much faster if it is run from a hard drive, but
- it can work from a floppy if needed.
-
- SAVETEXT.DO uses Function Key 1 (F1) to save text in the Flash
- editing buffer. Texts are saved as SAVEBUFF.TX1 through .TX5.
-
- To use SAVETEXT.DO, run this script once. It will create the
- operating DO file, named SAVETEXT.DO. Then, while you are
- writing or editing, switch to the terminal screen and press F1
- each time you want to save what you are writing or editing in the
- capture buffer. (The capture buffer is also the Flash editing
- screen.) The last 5 versions are saved to the default folder.
-
- Note to experienced Flash users:
-
- The default Flash function-key configuration file is saved as
- PREVIOUS.DEF so that you will not permanently lose whatever you
- may have programmed into F1. The new config file is saved as
- FUNCKEY.DEF.
-
- Also, SAVETEXT.DO uses variables X, Y and Z. To attempt to save
- the previous state of those variables, MAKESAVE.DO looks for a
- DO file named SAVEVARS.DO and runs it first. SAVEVARS.DO is part
- of the utilities package distributed with this software; see it
- for more information.
-
- |
- >sa fk previous.def|
- >fk 1 '>do savetext.do|'|
- >sa fk funckey.def|
- >ca on|
- >sa ca savebuff.tmp|
- >ca cl|
- >op savevars.do|
- >if op do savevars.do|
- >** End of preliminary subroutine. New script is created below.|
- >** |
- >ca cl|
- >log '>** savetext.do V. 1.1.0 - 02/09/92|'|
- >log|
- >log '>** Go to terminal screen and Press F1|'|
- >log|
- >log '>** to save text in editing buffer.|'|
- >log|
- >log '>$X savebuff|>$Y .tx|>$Z .bk|'|
- >log|
- >log '>sa ca $X$Z1|'|
- >log|
- >log '>**Backup (.bk1) is always saved of latest version).|'|
- >log|
- >log '>op $X$Y1|>if ~op jmp save1|'|
- >log|
- >log '>op $X$Y2|>if ~op jmp save2|'|
- >log|
- >log '>op $X$Y3|>if ~op jmp save3|'|
- >log|
- >log '>op $X$Y4|>if ~op jmp save4|'|
- >log|
- >log '>op $X$Y5|>if ~op jmp save5|'|
- >log|
- >log '>** Routine recycles after 5 versions are saved.|'|
- >log|
- >log '>L: save1|>sa ca $X$Y1|>ty Text saved as $X$Y1.|>jmp out|'|
- >log|
- >log '>L: save2|>sa ca $X$Y2|>ty Text saved as $X$Y2.|>jmp out|'|
- >log|
- >log '>L: save3|>sa ca $X$Y3|>ty Text saved as $X$Y3.|>jmp out|'|
- >log|
- >log '>L: save4|>sa ca $X$Y4|>ty Text saved as $X$Y4.|>jmp out|'|
- >log|
- >log '>L: save5|>sa ca $X$Y5|>ty Text saved as $X$Y5.|>jmp out|'|
- >log|
- >log '>L: save1|>sa ca $X$Y1|>ty Text saved as $X$Y1.|>jmp out|'|
- >log|
- >log '>L: out|>ty |>menu|>end|'|
- >log|
- >log '>**end of script|'|
- >log|
- >sa ca savetext.do|
- >ca cl|
- >lo ca savebuff.tmp||
- >ki savebuff.tmp|>menu|
- >** end of MAKESAVE.DO|
-